package com.djl.sqtg.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

public class Orders {
    private Integer oid;
    private Integer uid;
    private Integer num;
    private Integer gid;
    private Integer tzid;
    private Integer gcid;
    private Float dealprice;
    private Integer orderstate;
    private String ordernumber;
    private String address;
    private String telep;
    private String consignee;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String dealtime;

    private String username;
    private String colonelname;
    private String goodstitle;
    private String goodsimg;
    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;

    public String getGoodsimg() {
        return goodsimg;
    }

    public void setGoodsimg(String goodsimg) {
        this.goodsimg = goodsimg;
    }

    public Integer getGcid() {
        return gcid;
    }

    public void setGcid(Integer gcid) {
        this.gcid = gcid;
    }

    public Integer getTzid() {
        return tzid;
    }

    public void setTzid(Integer tzid) {
        this.tzid = tzid;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getTelep() {
        return telep;
    }

    public void setTelep(String telep) {
        this.telep = telep;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getColonelname() {
        return colonelname;
    }

    public void setColonelname(String colonelname) {
        this.colonelname = colonelname;
    }

    public String getGoodstitle() {
        return goodstitle;
    }

    public void setGoodstitle(String goodstitle) {
        this.goodstitle = goodstitle;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Float getDealprice() {
        return dealprice;
    }

    public void setDealprice(Float dealprice) {
        this.dealprice = dealprice;
    }

    public String getDealtime() {
        return dealtime;
    }

    public void setDealtime(String dealtime) {
        this.dealtime = dealtime;
    }

    public Integer getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(Integer orderstate) {
        this.orderstate = orderstate;
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "oid=" + oid +
                ", uid=" + uid +
                ", num=" + num +
                ", gid=" + gid +
                ", dealprice=" + dealprice +
                ", orderstate=" + orderstate +
                ", ordernumber='" + ordernumber + '\'' +
                ", address='" + address + '\'' +
                ", telep='" + telep + '\'' +
                ", consignee='" + consignee + '\'' +
                ", dealtime='" + dealtime + '\'' +
                ", username='" + username + '\'' +
                ", colonelname='" + colonelname + '\'' +
                ", goodstitle='" + goodstitle + '\'' +
                ", pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", tzid=" + tzid +
                ", gcid=" + gcid +
                ", goodsimg=" + goodsimg +
                '}';
    }
}
